(byte-compile-form): The `byte-compile'
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Jul 2006 16:34:44 +0000 (16:34 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Jul 2006 16:34:44 +0000 (16:34 +0000)
property may contain an anonymous function rather than a symbol.

lisp/ChangeLog
lisp/emacs-lisp/bytecomp.el

index 5c9cccf2caed0481b509b3dc705dbf0f4f7ea5a6..e9b84a2889cc9d18901f3078f789019b845b24d1 100644 (file)
@@ -1,5 +1,8 @@
 2006-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * emacs-lisp/bytecomp.el (byte-compile-form): The `byte-compile'
+       property may contain an anonymous function rather than a symbol.
+
        * pcvs-defs.el (cvs-temp-buffer-name): Fix non-hiddenness.
 
        * progmodes/compile.el (compilation-error-regexp-alist-alist) <gnu>:
index ebb2f11764af17e2294a1f518e9087fa9d48811c..02a88c13973837dd4efe5fa7f855bd3245b76e43 100644 (file)
@@ -2791,7 +2791,7 @@ That command is designed for interactive use only" fn))
                     ;; `cl-byte-compile-compiler-macro' but if CL isn't
                     ;; loaded, this function doesn't exist.
                     (or (not (memq handler '(cl-byte-compile-compiler-macro)))
-                        (fboundp handler))
+                        (functionp handler))
                    (not (and (byte-compile-version-cond
                                byte-compile-compatibility)
                               (get (get fn 'byte-opcode) 'emacs19-opcode))))